<#include "/layout/easyuilayout.ftl"/>
<@htmlHead>

</@htmlHead>
<@htmlBody>

<div id="Area_Toolbar">
    <input id="Area_ss" class="easyui-searchbox" style="width:280px;"  data-options="searcher:AreaSearchbox,prompt:'请输入关键字...',menu:'#Area_mm'"></input>
    <div id="Area_mm" style="width:120px">
        <div data-options="name:'parentAreaCode'">上级编码</div>
        <div data-options="name:'areaCode'">地市编码</div>
        <div data-options="name:'areaName'">地市名称</div>
        <div data-options="name:'areaLevel'">层级</div>
    </div>
    <a href="javascript:void(0)" class="easyui-linkbutton " iconCls="icon-reload" plain="true" onclick="ReloadList_Area()">刷新</a>

    <a href="javascript:void(0)" class="easyui-linkbutton float_r" iconCls="icon-remove" plain="true" onclick="Del_Area()">删除</a>
    <span class="datagrid-btn-separator float_r"  ></span>
    <a href="javascript:void(0)" class="easyui-linkbutton float_r" iconCls="icon-edit" plain="true" onclick="ShowEditForm_Area(1)">修改</a>
    <span class="datagrid-btn-separator float_r"  ></span>
    <a href="javascript:void(0)" class="easyui-linkbutton float_r" iconCls="icon-add" plain="true" onclick="ShowEditForm_Area(0)">新增</a>
</div>
<div data-options="region:'center',title:'',split:true,border:false" >
    <table id="Area_Grid"> </table>
</div>
<div id="Area_EditForm" class="easyui-dialog" style="width:700px;height:240px;padding:0px"  closed="true"  modal="true"    buttons="#Area_EditForm_buttons" >
    <form  id="Area_EditForm_fm"  method="post"  >

        <div class="fitem"  >
            <label>上级编码: </label>
            <input name="parentAreaCode" class="easyui-validatebox" placeholder="请输入..." value="" data-options="required:false"     />
        </div>
        <div class="fitem"  >
            <label>本地编码: </label>
            <input name="areaFrame" class="easyui-validatebox" placeholder="请输入..." value="" data-options="required:false"     />
        </div>
        <div class="fitem"  >
            <label>地市编码: </label>
            <input name="areaCode" class="easyui-validatebox" placeholder="请输入..." value="" data-options="required:false"     />
        </div>
        <div class="fitem"  >
            <label>地市名称: </label>
            <input name="areaName" class="easyui-validatebox" placeholder="请输入..." value="" data-options="required:false"     />
        </div>
        <div class="fitem"  >
            <label>层级: </label>
            <input name="areaLevel" class="easyui-validatebox" placeholder="请输入..." value="" data-options="required:false"     />
        </div>
        <div class="fitem"  >
            <label>备注: </label>
            <input name="remark" class="easyui-validatebox" placeholder="请输入..." value="" data-options="required:false"     />
        </div>
        <div class="fitem"  >
            <label>排序: </label>
            <input name="areaSort" class="easyui-validatebox" placeholder="请输入..." value="" data-options="required:false"     />
        </div>

    </form>
</div>
<div id="Area_EditForm_buttons">
    <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-ok" onclick="save_Area()">保存</a>
    <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-cancel" onclick="javascript:$('#Area_EditForm').dialog('close')">取消</a>
</div>
</@htmlBody>



